package com.mpyy.service.systemSetting;

import com.mpyy.dao.systemSetting.ClientDao;
import com.mpyy.pojo.MenmberInfo;
import com.mpyy.pojo.MenmberTypeld;
import com.mpyy.pojo.SaleOrder;
import com.mpyy.pojo.SaleOrderDesc;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @PackageName:com.mpyy.service.systemSetting
 * @ClassName:ClientServiceImpl
 * @Date:2022-03-25:10:31
 * @Author: Tang Neng
 */
@Service
public class ClientServiceImpl implements ClientServiceInter {
    @Autowired
    private ClientDao clientDao;

    @Override
    public int updateMenmberInfoAdd(MenmberInfo menmberInfo) {
        return clientDao.updateMenmberInfoAdd(menmberInfo);
    }

    @Override
    public List<MenmberTypeld> searchMenmberTypeInfo() {
        return clientDao.searchMenmberTypeInfo();
    }

    @Override
    public List<MenmberInfo> searchMenmberInfo(String menName) {
        return clientDao.searchMenmberInfo(menName);
    }

    @Override
    public List<SaleOrder> searchMenmberSaleOrderDescInfo(String menId) {
        return clientDao.searchMenmberSaleOrderDescInfo(menId);
    }

    @Override
    public int updateMenmberInfo(MenmberInfo menmberInfo) {
        return clientDao.updateMenmberInfo(menmberInfo);
    }
}
